package com.example.eventexample.route;

import android.support.v4.app.Fragment;

import com.zee.annotation.ActivityTag;
import com.zee.utils.UIUtils;

import org.greenrobot.eventbus.SubscribeRunOnlyTop;

@ActivityTag(name = "路由架构---fragment", keyWords = "欢迎进入路由架构界面-keyWords", module = "Route例子-module")
public class EventTestA extends Fragment {
    String nameA;

//    EventTestA() {
//        ZEventBusUtils.register(this);
//    }

    @SubscribeRunOnlyTop(tag = "消息")
    public void setNameA(String nameA) {
        this.nameA = nameA;
        UIUtils.showToastShort(nameA);
    }
}
